🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / core / model / src / commonMain / kotlin / org / meshtastic / core / model / BootloaderOtaQuirk.kt
Displaying Raw • Download
core/model/src/commonMain/kotlin/org/meshtastic/core/model/BootloaderOtaQuirk.kt 2d20cd8a4708e2ef66e98d5259f3a97ec93f240a (2d20cd8a) Text, 1.73 KB
T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.model
Tff7b72import T7ee787kotlinx.serialization.SerialName
Tff7b72import T7ee787kotlinx.serialization.Serializable
T8b949e/** Envelope of the bundled `device_bootloader_ota_quirks.json` asset. */
Tf0883e@Serializable Tff7b72data Tff7b72class T56d364BootloaderOtaQuirksResponseTb4b4b4(Tff7b72val Te6edf3devicesTb4b4b4: Te6edf3ListTff7b72<Te6edf3BootloaderOtaQuirkTff7b72> Tff7b72= Te6edf3emptyListTb4b4b4(Tb4b4b4)Tb4b4b4)
Tf0883e@Serializable
Tff7b72data Tff7b72class T56d364BootloaderOtaQuirkTb4b4b4(
T8b949e/** Hardware model id, matches DeviceHardware.hwModel. */
Tf0883e@SerialNameTb4b4b4(Ta5d6ff"Ta5d6ffhwModelTa5d6ff"Tb4b4b4) Tff7b72val Te6edf3hwModelTb4b4b4: Tffa657IntTb4b4b4,
T8b949e/** Optional slug for readability / tooling. */
Tf0883e@SerialNameTb4b4b4(Ta5d6ff"Ta5d6ffhwModelSlugTa5d6ff"Tb4b4b4) Tff7b72val Te6edf3hwModelSlugTb4b4b4: Tffa657String? Tff7b72= Tff7b72nullTb4b4b4,
T8b949e/**
* Indicates that devices usually ship with a bootloader that does not support OTA out of the box and require a
* one-time bootloader upgrade (typically via USB) before DFU updates from the app work.
*/
Tf0883e@SerialNameTb4b4b4(Ta5d6ff"Ta5d6ffrequiresBootloaderUpgradeForOtaTa5d6ff"Tb4b4b4) Tff7b72val Te6edf3requiresBootloaderUpgradeForOtaTb4b4b4: Tffa657Boolean Tff7b72= Tff7b72falseTb4b4b4,
T8b949e/** Optional URL pointing to documentation on how to update the bootloader. */
Tf0883e@SerialNameTb4b4b4(Ta5d6ff"Ta5d6ffinfoUrlTa5d6ff"Tb4b4b4) Tff7b72val Te6edf3infoUrlTb4b4b4: Tffa657String? Tff7b72= Tff7b72nullTb4b4b4,
Tb4b4b4)
Served by rngit 1.5.0 - Generated in 0.07s